import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

Vue.prototype.gopage=function(name){
	
	if(name=='index'||name=='list'){
		uni.switchTab({
			url: '/pages/'+name+'/'+name
		});
	}else{
		uni.navigateTo({
			url: '/pages/'+name
		});
	}
	
		
	
}



const app = new Vue({
    ...App
})
app.$mount()
